{% load price from taxed_prices %}
<table class="summary-table">
    <tbody>
        <tr class="summary-row">
            <td class="cell-summary">
                <span class="normal-text-table">Subtotal</span>
            </td>
            <td class="cell-quantity"></td>
            <td class="cell-total-price">
                <span class="header-item">
                    {% price order.get_subtotal.gross display_gross=order.display_gross_prices %}
                </span>
            </td>
        </tr>
        <tr class="summary-row">
            <td class="cell-summary">
                <span class="normal-text-table">Delivery Cost</span>
            </td>
            <td class="cell-quantity"></td>
            <td class="cell-total-price">
                <span class="header-item">
                    {% price order.shipping_price.gross display_gross=order.display_gross_prices %}
                </span>
            </td>
        </tr>
        <tr class="summary-row">
            <td class="cell-summary">
                <span class="normal-text-table">Tax</span>
            </td>
            <td class="cell-quantity"></td>
            <td class="cell-total-price">
                <span class="header-item">
                    {% price order.total.tax display_gross=order.display_gross_prices %}
                </span>
            </td>
        </tr>
        {% if gift_cards_payment.amount > 0 %}
            <tr class="summary-row">
                <td class="cell-summary">
                    <span class="normal-text-table">Gift cards</span>
                </td>
                <td class="cell-quantity"></td>
                <td class="cell-total-price">
                    <span class="header-item">
                        -{% price gift_cards_payment display_gross=order.display_gross_prices %}
                    </span>
                </td>
            </tr>
        {% endif %}
        <tr class="summary-row">
            <td class="cell-summary">
                <span class="normal-text-table"><b>Grand Total</b></span>
            </td>
            <td class="cell-quantity"></td>
            <td class="cell-total-price">
                <span class="header-item">
                    {% price order.total.gross display_gross=order.display_gross_prices %}
                </span>
            </td>
        </tr>
    </tbody>
</table>
